<?php
//http://www.voidcn.com/article/p-tskqtxsm-bmp.html
date_default_timezone_set('Asia/Shanghai');
 
 //php code ...  
  function first(){
	  echo 1;
//然后执行一个服务器端操作  
//pclose(popen("/usr/local/php/bin/php /htdocs/www/site/task.php &", "r"));  	  
pclose(popen("php ./popen.php &", "r"));  	  
 	  
  }
function sec(){
	echo 2;
}
 first();

?>